package com.example.transport.annotation;

import org.springframework.stereotype.Service;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.*;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

@Service
@Target({TYPE})
@Retention(RUNTIME)
public @interface Listener {

    String topic() default "";
}
